Software Development
Unit Testing Best Practices
Implementing Unit Testing Best Practices

Implementing Unit Testing Best Practices

Course Number:
it_atutbpdj_01_enus
Lesson Objectives

Implementing Unit Testing Best Practices

  • discover the key concepts covered in this course
  • describe Agile testing and testing strategies that can be adopted in the Agile software development process, with a focus on Agile Testing Quadrants
  • list prominent unit testing patterns and scenarios where the patterns are applicable
  • compare good and bad tests and specify the goals and approaches of writing good unit tests
  • compare prominent code-driven unit testing frameworks that can be used to write unit tests in various programming languages
  • implement the AAA unit testing pattern using JUnit and TestNG
  • recognize the need for Test Double and describe how Dummy object, Fake object, stub class, and Mock object are used to facilitate test replacements
  • apply best practices to the configuration and use of the Mockito API for implementing unit tests with Mock objects
  • configure and write JUnit tests to test RESTful APIs with Mocha and Chai
  • unit test web services using SOAP UI and custom code
  • write unit tests using DBUnit to test data access objects that are written for database-driven applications
  • implement unit testing using the test-driven development process based on sample scenarios
  • implement automated testing with JUnit and Selenium to achieve enhanced browser compatibility
  • summarize the key concepts covered in this course

Overview/Description

Explore prominent unit testing patterns, the differences between good and bad unit tests, code-driven unit testing frameworks, and the need for Test Double and its categories. Discover how to implement the AAA unit testing pattern, configure and use the Mockito API to implement unit tests, and configure and write JUnit tests to test RESTful APIs. In addition, unit testing web services, writing unit tests to test data access objects, and implementing automated testing using JUnit, TestNG, Mocha, Chai, SOAP UI, and Selenium are covered.



Target

Prerequisites: none

Close Chat Live